package la.iok.hzsvn.lewin.movie.core.shopmovie.vo;

import java.util.List;
import java.util.Objects;

public class PlayerFeeVo extends PlayerFeeBase {
    private List<PlayerFeeCoupon> couponUseRecords;

    public List<PlayerFeeCoupon> getCouponUseRecords() {
        return couponUseRecords;
    }

    public void setCouponUseRecords(List<PlayerFeeCoupon> couponUseRecords) {
        this.couponUseRecords = couponUseRecords;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof PlayerFeeVo)) return false;
        if (!super.equals(o)) return false;
        PlayerFeeVo that = (PlayerFeeVo) o;
        return Objects.equals(couponUseRecords, that.couponUseRecords);
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), couponUseRecords);
    }

    @Override
    public String toString() {
        return "PlayerFeeVo{" +
                "couponUseRecords=" + couponUseRecords +
                "} " + super.toString();
    }
}
